.class Lcom/waiqin365/lightapp/product/bb;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method public constructor <init>(Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/bb;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/bb;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;->dismissProgressDialog()V

    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/lightapp/product/b/a/r;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/b/a/r;->b()Z

    move-result v2

    if-eqz v2, :cond_1

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/lightapp/product/b/a/r;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, v1, Lcom/waiqin365/lightapp/product/b/a/r;->d:Ljava/lang/String;

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/b/a/r;->d:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;->a(Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;Ljava/lang/String;)Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;->i(Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;->a(Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;Landroid/view/View;)V

    goto :goto_0

    :cond_1
    iget-object v1, v1, Lcom/waiqin365/lightapp/product/b/a/r;->c:Ljava/lang/String;

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    const v1, 0x7f08075c

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    :cond_2
    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailFullViewActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x3f3
        :pswitch_0
    .end packed-switch
.end method
